package com.dys.service.impl;

import com.dys.dao.UserDao;
import com.dys.dao.impl.UserDaoImpl;
import com.dys.entity.User;
import com.dys.service.UserService;

/**
 * @Author: 疾风
 * @ClassName: UserServiceImpl
 * @Description: 业务逻辑具体实现
 * @CreateDate: 2024/09/26
 * @Version: v1.0.0
 */
public class UserServiceImpl implements UserService {
    private final UserDao userDao = new UserDaoImpl();

    @Override
    public User findOneUser(String username, String password) {
        return userDao.selectOneUser(username, password);
    }
}
